<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
<#include "../../comm/meta-base.ftl" />
    <link rel="stylesheet" href="/static/css/common.css" media="all"/>
    <link rel="stylesheet" href="/static/css/index.css" media="all"/>
    <link rel="stylesheet" href="/static/css/book.css" media="all"/>
</head>
<body>
<div class="shadow-box">
    <h1>${bookname}</h1>
    <div class="index">
    <#list elements as item>
        <div>${item}</div>
    </#list>
    </div>
</div>
</body>
<script type="text/javascript" src="/static/js/common.js"></script>
<script>
    $(function () {
        $('a').each(function () {
            var href = $(this).attr('href');
            $(this).attr('href', href.split('.')[0]);
        })
    })
</script>
</html>